package com.woniu.mapper;

import com.woniu.entity.Reward1;
import com.woniu.pojo.Reward;
import com.woniu.pojo.RewardExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RewardDao {
    long countByExample(RewardExample example);

    int deleteByExample(RewardExample example);

    int deleteByPrimaryKey(Integer rewardId);

    int insert(Reward record);

    int insertSelective(Reward record);

    List<Reward> selectByExample(RewardExample example);

    Reward selectByPrimaryKey(Integer rewardId);

    int updateByExampleSelective(@Param("record") Reward record, @Param("example") RewardExample example);

    int updateByExample(@Param("record") Reward record, @Param("example") RewardExample example);

    int updateByPrimaryKeySelective(Reward record);

    int updateByPrimaryKey(Reward record);

    List<Reward1> selectByExample1(RewardExample example);

    Reward1 selectByPrimaryKey1(Integer rewardId);
}